//
//  Building.h
//  Kfangchan
//
//  Created by liran on 14/11/6.
//  Copyright (c) 2014年 Beijing Renjuren Network Technology Co., Ltd. All rights reserved.
//

#import "ModelBase.h"
#import "ModelList.h"

@interface Building : ModelBase

@property (nonatomic)           int                 pkid;
@property (strong, nonatomic)   NSString            *name;
@property (strong, nonatomic)   NSString            *imgUrl;
@property (strong, nonatomic)   NSString            *shareImgUrl;
@property (strong, nonatomic)   NSString            *city;
@property (strong, nonatomic)   NSString            *area;
@property (strong, nonatomic)   NSString            *addr;
@property (strong, nonatomic)   NSString            *builder;
@property (strong, nonatomic)   NSString            *openingTime;
@property (strong, nonatomic)   NSString            *checkInTime;
@property (strong, nonatomic)   NSString            *type;
@property (strong, nonatomic)   NSString            *propertyRight;
@property (strong, nonatomic)   NSString            *buildingType;
@property (strong, nonatomic)   NSString            *decorationType;
@property (strong, nonatomic)   NSString            *saleBegin;
@property (strong, nonatomic)   NSString            *saleEnd;
@property (strong, nonatomic)   NSString            *tagImgUrl;
@property (strong, nonatomic)   NSString            *avgPrice;
@property (strong, nonatomic)   NSString            *maxCommission;
@property (strong, nonatomic)   NSString            *payCommission;
@property (strong, nonatomic)   NSString            *customerDefinition;
@property (strong, nonatomic)   NSString            *commissionRule;
@property (strong, nonatomic)   NSArray             *commissionRuleList;
@property (strong, nonatomic)   NSString            *reward;
@property (strong, nonatomic)   NSArray             *rewardList;
@property (strong, nonatomic)   NSString            *descr;
@property (nonatomic)           double              longitude;
@property (nonatomic)           double              latitude;
@property (nonatomic)           int                 stickActiveId;
@property (nonatomic)           int                 status;
@property (strong, nonatomic)   NSString            *addTime;
@property (nonatomic)           int                 addUcid;
@property (strong, nonatomic)   NSString            *share;
@property (strong, nonatomic)   NSString            *webUrl;

@property (strong, nonatomic)   BuildingActive      *stickActive;

@property (strong, nonatomic)   BuildingActiveList  *activeList;
@property (strong, nonatomic)   BuildingLayoutList  *layoutList;
@property (strong, nonatomic)   BuildingTrafficList *trafficList;
@property (strong, nonatomic)   BuildingEffectList  *effectList;

@property (nonatomic)           int                  customerDefinitionNum;
@property (nonatomic)           int                  payCommissionNum;
@property (nonatomic)           int                  commissionRuleRed;
@property (nonatomic)           int                  rewardRed;

@end

@interface BuildingList : ModelList

@end
